package mumuxi_1;

import android.view.animation.Interpolator;

public class DiyInterpolator implements Interpolator{
    
    private OnCallInterpilation call;
    
    public DiyInterpolator(OnCallInterpilation call){
        this.call = call;
    }
    
    @Override
    public float getInterpolation(float val){
        return call.onCall(val);
    }
    
    public interface OnCallInterpilation{
        public float onCall(float val);
    }
    
}

